package cn.iocoder.springboot.lab13.jpa.dataobject;

import org.omg.PortableInterceptor.INACTIVE;

import javax.persistence.*;

@Entity
@Table(name = "clob_test")
public class ClobTestDO {

    @Id
    private Integer id;

    @Lob
    //@Column(columnDefinition = "CLOB")
    private String tt;

    public String getTt() {
        return tt;
    }

    public void setTt(String tt) {
        this.tt = tt;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "ClobTestDO{" +
                "id=" + id +
                ", tt='" + tt + '\'' +
                '}';
    }
}
